package com.woniu.zsd.merchant.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.dto.NoticeListDto;
import com.woniu.form.PublishNoticeForm;
import com.woniu.form.QueryNoticeForm;
import com.woniu.form.UpdateNoticeForm;
import com.woniu.zsd.merchant.entity.Notice;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-03-27
 */
public interface INoticeService extends IService<Notice> {

    Page<NoticeListDto> noticeList(QueryNoticeForm queryNoticeForm);

    void publishNotice(PublishNoticeForm publishNoticeForm, Integer adminId);

    void deleteNotice(List<Integer> ids, Integer adminId);

    void updateNotice(UpdateNoticeForm updateNoticeForm, Integer adminId);

    List<NoticeListDto> draftNotice(Integer adminId);
}
